<%@ include file="layout/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Course management</title>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/resources/css/style1.css">
<link rel="stylesheet"
	href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">

</head>
<body>
	<div class="container">Command Management</div>

     <div id="tabCategories" class="container cadre">
		<table class="table table-striped">
		  <thead>
			<tr>
				<th>ID</th>
				<th>Date</th>
				<th>Name</th>
				<th>Tel</th>
				<th>Mail</th>
				<th>Address</th>
				<th>City</th>
				<th></th>
				<th></th>
			</tr>
          </thead>
		  <tbody>
			<c:forEach items="${commands}" var="command">
				<tr>
					<td>${command.idCmd}</td>
					<td>${command.dateCmd}</td>
					<td>${command.nameClient}</td>
					<td>${command.telClient}</td>
					<td>${command.mailClient}</td>
					<td>${command.adressClient}</td>
					<td>${command.cityClient}</td>
					
				
					<td><a href="delComm?idCom=${command.idCmd}">Delete</a></td>
					<td><a href="comd_detail?idCom=${command.idCmd}">View</a></td>
				</tr>
			</c:forEach>
           </tbody>
		</table>
	</div>
</body>
</html>